<script type="text/html" template>
    <link rel="stylesheet" href="{{ layui.setter.base }}/start/layui/css/layui.css">
    <link rel="stylesheet" href="{{ layui.setter.base }}style/css/reset.css">
    <link rel="stylesheet" href="{{ layui.setter.base }}style/css/home/alert-one.css">
    <script src="{{ layui.setter.base }}/start/layui/layui.all.js"></script>
</script>
   
    <title>保养项目-编辑</title>
    <div class="alert-box">
        <div class="layui-title">编辑</div>
        <form class="form layui-form">
            <div class="layui-form-item">
                <label class="layui-form-label">项目名称：</label>
                <div class="layui-input-block">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">保养标准：</label>
                <div class="layui-input-block">
                    <input type="text" name="title" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">保养部位：</label>
                <div class="layui-input-block">
                    <input type="text" name="title" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">保养说明：</label>
                <div class="layui-input-block">
                    <input type="text" name="title" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">相关文档：</label>
                <div class="select layui-input-block">
                    <input type="text" name="title" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
                    <i class="icon layui-icon layui-icon-triangle-r" style="font-size: 10px; color: #8A8A8A;"></i>
                </div>
            </div>
        </form>
        <div class="footer layui-btn-container">
            <button class="btn1 layui-btn layui-btn-radius layui-btn-primary">确定</button>
            <button class="btn2 layui-btn layui-btn-radius layui-btn-primary">取消</button>
        </div>
    </div>
   
    
    <script>
        ! function() {
            var form = layui.form,
                layer = layui.layer,
                $ = layui.$,
                admin = layui.admin,
                view = layui.view,
                api = layui.api,
                table = layui.table,
                setter = layui.setter,
                laytpl = layui.laytpl,
                utill = layui.utill,
                form = layui.form,
                element = layui.element;
            $('.footer').on('click', 'button', function() {
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            $('.layui-form-item').on('click', '.select', function() {
                layer.open({
                    type: 2,
                    title: false,
                    area: ['270px', '220px'],
                    fixed: true,
                    shadeClose: true,
                    closeBtn: 0,
                    content: ['./src/views/maintain/my/add-select.html', 'no']
                });
            })
        }();
    </script>
</body>

</html>